package jiekou;

public class Test {
    public static void main(String[] args) {
        Animal a = new Cat();
       a.setName("aaa");
        a.setAge(5);
        a.eat(a.getName());
        ((Cat) a).Jump(a.getName());
/*
        Jumping jumping = new Jumping() {
            @Override
            public void Jump(String name) {

            }
        };
*/



    }
}
